package cn.zhentao.mapper;

import cn.zhentao.borrow.dto.BorrowShow;
import cn.zhentao.borrow.dto.Sys_BrowListDto;
import cn.zhentao.borrow.param.BroCountParam;
import cn.zhentao.borrow.pojo.TBorrowing;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author EWEWW
* @description 针对表【t_borrowing】的数据库操作Mapper
* @createDate 2024-07-01 10:58:15
* @Entity cn.zhentao.pojo.TBorrowing
*/
@Mapper
public interface TBorrowingMapper extends BaseMapper<TBorrowing> {
    //图书查询
    List<TBorrowing> selusrbrolist(@Param("show") BorrowShow show);
    //统计图分析方法
    List<BroCountParam> countList(@Param("id") Integer id);
    //管理员端查询
    Page<TBorrowing> sys_list(@Param("page") Page<TBorrowing> page,@Param("dto") Sys_BrowListDto dto);
}




